package com.jindy.module.syAccountStatement.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 新对账单对象 sy_account_statement
 * 
 * @author jindy
 * @date 2023-05-27
 */
public class SyAccountStatement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 流水单号 */
    @Excel(name = "流水单号")
    private String serialNum;

    /** 业务状态 */
    @Excel(name = "业务状态")
    private String businessStatus;

    /** 应收合计 */
    @Excel(name = "应收合计")
    private BigDecimal receivablesTotal;

    /** 实收押金 */
    @Excel(name = "实收押金")
    private BigDecimal receivedDeposit;

    /** 实际欠款 */
    @Excel(name = "实际欠款")
    private BigDecimal arrearsActual;

    /** 对账单附件 */
    @Excel(name = "对账单附件")
    private String accountStatementAttchment;

    /** 申请人id */
    @Excel(name = "申请人id")
    private String applyUserId;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNum(String serialNum) 
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum() 
    {
        return serialNum;
    }
    public void setBusinessStatus(String businessStatus) 
    {
        this.businessStatus = businessStatus;
    }

    public String getBusinessStatus() 
    {
        return businessStatus;
    }
    public void setReceivablesTotal(BigDecimal receivablesTotal) 
    {
        this.receivablesTotal = receivablesTotal;
    }

    public BigDecimal getReceivablesTotal() 
    {
        return receivablesTotal;
    }
    public void setReceivedDeposit(BigDecimal receivedDeposit) 
    {
        this.receivedDeposit = receivedDeposit;
    }

    public BigDecimal getReceivedDeposit() 
    {
        return receivedDeposit;
    }
    public void setArrearsActual(BigDecimal arrearsActual) 
    {
        this.arrearsActual = arrearsActual;
    }

    public BigDecimal getArrearsActual() 
    {
        return arrearsActual;
    }
    public void setAccountStatementAttchment(String accountStatementAttchment) 
    {
        this.accountStatementAttchment = accountStatementAttchment;
    }

    public String getAccountStatementAttchment() 
    {
        return accountStatementAttchment;
    }
    public void setApplyUserId(String applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNum", getSerialNum())
            .append("businessStatus", getBusinessStatus())
            .append("receivablesTotal", getReceivablesTotal())
            .append("receivedDeposit", getReceivedDeposit())
            .append("arrearsActual", getArrearsActual())
            .append("accountStatementAttchment", getAccountStatementAttchment())
            .append("applyUserId", getApplyUserId())
            .append("applyUserName", getApplyUserName())
            .append("applyTime", getApplyTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
